<template>
  <div
    style="
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    "
  >
    <el-card style="width: 500px">
      <h1 style="margin:0;text-align:center;">summerVue</h1>
      <el-form
        :model="ruleForm"
        status-icon
        :rules="rules"
        ref="ruleForm"
        label-width="100px"
        class="demo-ruleForm"
      >
        <el-form-item label="用户名" prop="pass">
          <el-input
            type="txt"
            v-model="ruleForm.user"
            autocomplete="true"
          ></el-input>
        </el-form-item>
        <el-form-item label="密码" prop="checkPass">
          <el-input
            type="password"
            v-model="ruleForm.password"
            autocomplete="off"
          ></el-input>
        </el-form-item>
        <el-form-item class="btn">
          <el-button type="primary" 
            >提交</el-button
          >
          <el-button>重置</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        ruleForm: {
          user: 'admin',
          password: '123456',
        },
      };
    },
    methods: {
      
    }
  }
</script>

<style scoped>
.btn{
  text-align: center;
  margin-left: 0px;
}
</style>